PETestNthTableConnectivity

Use PETestNthTableConnectivity to test whether a database table's settings are valid and ready to be reported on. This function is typically used if you plan to print at a later time but you want to test now to make sure everything is in order for logging on. For example, your application can prompt your user for a password and then test it before printing begins. See Remarks below.

C Syntax
BOOL CRPE_API PETestNthTableConnectivity (
        short printJob,
        short tableN );
Parameters

printJob

Specifies the print job for which you want to test a table's connection settings.

tableN

Specifies the 0-based number of the table for which you want to test the database table settings. The first table is table 0. The last table is N-1.

Returns
Remarks
VB Syntax

VB Sample Code for modifying database table settings

Declare Function PETestNthTableConnectivity Lib "crpe32.dll" ( ByVal 
printJob As Integer, ByVal TableN As Integer ) As Integer
Delphi Syntax

Delphi code for getting/setting logon information

function PETestNthTableConnectivity (
    printJob: Word;
    tableN: smallint
    ): Bool stdcall;
dBASE for Windows Syntax

EXTERN CLOGICAL PETestNthTableConnectivity (CWORD, CWORD) CRPE.DLL



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com